package com.sy.simpleegg.mvp.contract

import com.sy.simpleegg.base.IModel
import com.sy.simpleegg.base.IPresenter
import com.sy.simpleegg.base.IView
import com.sy.simpleegg.bean.ClearDataBean

interface FastManageContract {
    interface View: IView{
        fun saveCoinsFinish()

        fun showClearData(clearDatas: MutableList<ClearDataBean>?)
    }

    interface Presenter: IPresenter<View>{
        fun saveCoins(coins: Long)

        fun getClearData()
    }

    interface Model: IModel{
        suspend fun saveCoins(coins: Long)

        suspend fun getClearData(): MutableList<ClearDataBean>?
    }
}